package com.didang.test;

import org.springframework.stereotype.Component;

import com.didang.Model;
import com.didang.annotation.Column;
import com.didang.annotation.Id;
import com.didang.annotation.Table;

@Table
@Component
public class Person extends Model{

	@Id
	@Column("p_id")
	private String id;
	@Column("p_name")
	private String name;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
}
